package cn.jiedanba.cacert.model;

import java.io.Serializable;
import java.util.Date;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 密钥用法
 * 
 * @author
 */
@Data
@Table("tb_key_usage")
@Accessors(chain = true)
public class KeyUsage implements Serializable {

	@Id(keyType = KeyType.Generator, value = "snowflake")
	private String id;

	/**
	 * 用法名称
	 */
	private String usageName;

	/**
	 * 用法值
	 */
	private String usageValue;

	/**
	 * 是否是增强用法
	 */
	private Boolean enhance;

	/**
	 * 创建时间
	 */

	private Date createDate;

	private static final long serialVersionUID = 1L;

}